package com.retail.bbq.cola.feign;

import com.retail.bbq.cola.vo.request.LawsonSyncMemberRequest;
import com.retail.bbq.cola.vo.response.LawsonSyncMemberResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;


/**
 * @author : jie.zhou
 * @date : 2025/4/15
 */
@FeignClient(name = "lawson-client", url = "${lawson.url}")
public interface LawsonFeign {


    @RequestMapping(value = "/market/security/pass/external/SYNC_MEMBER", method = RequestMethod.POST)
    LawsonSyncMemberResponse syncMember(@RequestBody LawsonSyncMemberRequest request,
                                        @RequestHeader("signature") String signature,
                                        @RequestHeader("timestamp") String timestamp);

}
